<!DOCTYPE html>
<html>
    <head>
        <#include "../common.ftl">
    </head>
    <body class="childrenBody">
        <form class="layui-form" style="width:80%;">
            <#-- 设置字典ID的隐藏域 -->
            <input type="hidden" name="id" value="${(dataDic.id)!}">

            <div class="layui-form-item layui-row layui-col-xs8">
                <label class="layui-form-label">原字典类型</label>
                <div class="layui-input-block">
                    <input type="text" class="layui-input"
                           name="dataDicName2" id="dataDicName2" value="${(dataDic.dataDicName)!}"placeholder="原字典类型" readonly="readonly">
                </div>
            </div>

            <div class="layui-form-item layui-col-xs10">
                <label class="layui-form-label">字典类型</label>
                <div class="layui-input-block">
                    <select name="dataDicName"  id="dataDicName">
                        <option value="" >请选择</option>
                        <option value="客户等级">客户等级</option>
                        <option value="服务类型" >服务类型</option>
                    </select>
                </div>
            </div>

            <div class="layui-form-item layui-row layui-col-xs10">
                <label class="layui-form-label">字典值</label>
                <div class="layui-input-block">
                    <input type="text" class="layui-input"  name="dataDicValue" id="dataDicValue" value="${(dataDic.dataDicValue)!}" placeholder="请输入字典值">
                </div>
            </div>
            <br/>
            <div class="layui-form-item layui-row layui-col-xs12">
                <div class="layui-input-block">
                    <button class="layui-btn layui-btn-lg" lay-submit=""  lay-filter="addOrUpdateDataDic">确认 </button>
                    <button class="layui-btn layui-btn-lg layui-btn-normal" id="closeBtn">取消</button>
                </div>
            </div>
        </form>
    <script type="text/javascript" src="${ctx}/js/dataDic/add.update.js"></script>
    </body>
</html>